package com.ibeetl.admin.core.dao;

import com.ibeetl.admin.core.entity.CoreSearch;
import com.ibeetl.admin.core.entity.DataCheckRules;
import com.ibeetl.admin.core.entity.FiDataTransDetail;
import com.ibeetl.admin.core.entity.mfiDataTransDetail;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

@SqlResource("console.check")
public interface FiDataTransDetailDao extends BaseMapper<FiDataTransDetail> {

    List<DataCheckRules> queryVersionRules(CoreSearch coreSearch);

    List<FiDataTransDetail> queryData(String sql);

    void deleteFromFiDataTransDetail(CoreSearch coreSearch);

    List<FiDataTransDetail> getFiDataTransDetailDatasOfMoney(CoreSearch search);

    List<FiDataTransDetail> getFiDataTransDetailDatasOfItem(CoreSearch search);

    List<mfiDataTransDetail> queryItemData(String sql);

    public FiDataTransDetail getFiDataTransDetail( FiDataTransDetail fiDataTransDetail);

    public List<DataCheckRules> queryCheckRules(String versionNo);

}

